package com.xian.manage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xian.common.annotation.Excel;
import com.xian.common.core.domain.BaseEntity;

/**
 * 景点管理对象 tb_scenic
 * 
 * @author ruoyi
 * @date 2025-03-30
 */
public class Scenic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 景点名称 */
    @Excel(name = "景点名称")
    private String name;

    /** 景点图片 */
    @Excel(name = "景点图片")
    private String image;

    /** 景点简介 */
    @Excel(name = "景点简介")
    private String description;

    /** 景点纬度 */
    @Excel(name = "景点纬度")
    private BigDecimal latitude;

    /** 景点经度 */
    @Excel(name = "景点经度")
    private BigDecimal longitude;

    /** 景点类别 */
    @Excel(name = "景点类别")
    private String category;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 开放时间 */
    @Excel(name = "开放时间")
    private String opentime;

    /** 门票价格 */
    @Excel(name = "门票价格")
    private BigDecimal price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }

    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setOpentime(String opentime) 
    {
        this.opentime = opentime;
    }

    public String getOpentime() 
    {
        return opentime;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("image", getImage())
            .append("description", getDescription())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("category", getCategory())
            .append("address", getAddress())
            .append("opentime", getOpentime())
            .append("price", getPrice())
            .toString();
    }
}
